import { post } from '@/utils/request'
// 获取数据字典值
export const getNumberRule = p => post(`/service-global/g/common/v1/noRuleList`, p, 'get')
// 企微敏感词设置
export const sensitiveWordSettingView = p => post(`/service-system/b/sensitiveWordSetting/v1/sensitiveWordSettingView`, p)
export const sensitiveWordSettingSave = p => post(`/service-system/b/sensitiveWordSetting/v1/sensitiveWordSettingSave`, p)
// 企微客户自动绑定设置
export const friendsBindingSettingView = p => post(`/service-system/b/friendsBindingSetting/v1/friendsBindingSettingView`, p)
export const friendsBindingSettingSave = p => post(`/service-system/b/friendsBindingSetting/v1/friendsBindingSettingSave`, p)
// 客服自动回复欢迎语设置
export const kfAutoReplyWelcomeSettingView = p => post(`/service-system/b/kfAutoReplySetting/v1/kfAutoReplyWelcomeSettingView`, p)
export const kfAutoReplyWelcomeSettingSave = p => post(`/service-system/b/kfAutoReplySetting/v1/kfAutoReplyWelcomeSettingSave`, p)
// 客服忙时设置
export const kfAutoReplyBusySettingView = p => post(`/service-system/b/kfAutoReplySetting/v1/kfAutoReplyBusySettingView`, p)
export const kfAutoReplyBusySettingSave = p => post(`/service-system/b/kfAutoReplySetting/v1/kfAutoReplyBusySettingSave`, p)
// 客服忙时设置
export const kfAutoReplyOfflineSettingView = p => post(`/service-system/b/kfAutoReplySetting/v1/kfAutoReplyOfflineSettingView`, p)
export const kfAutoReplyOfflineSettingSave = p => post(`/service-system/b/kfAutoReplySetting/v1/kfAutoReplyOfflineSettingSave`, p)
// 客服智能问答设置
export const kfAutoReplySmartSettingView = p => post(`/service-system/b/kfAutoReplySetting/v1/kfAutoReplySmartSettingView`, p)
export const kfAutoReplySmartSettingSave = p => post(`/service-system/b/kfAutoReplySetting/v1/kfAutoReplySmartSettingSave`, p)
// 日志设置
export const logSettingView = p => post(`/service-system/b/logSetting/v1/logSettingView`, p)
export const logSettingSave = p => post(`/service-system/b/logSetting/v1/logSettingSave`, p)
export const queryAreasByCode = p => post(`/service-global/g/area/feign/v1/queryAreasByCode/${p}`, p)
